<!--
 * @Author: luoyun
 * @Descripttion: 
-->
<template>
  <ul class="recommend">
    <li  v-for="(item,index) in recommend" :key="index">
      <a :href="item.link">
        <img :src="item.image" alt="">
      </a>
    </li>
  </ul>
</template>

<script>
  export default {
    name:'HomeSwiper',
    props:{
      recommend:{
        type:Array,
        default:()=>{
          return []
        }
      }
    },
    data () {
      return {

      };
    },

    components:{},

    methods:{},

    created(){}
  }
</script>

<style lang='scss' scoped>
  .recommend{
    width:100vw;
    display: flex;
    li{
      display: flex;
      flex:1;
      background: #fff;
      padding:10px 0 30px;
      border-bottom:10px solid #eee;
      a{
        display: flex;
        padding:5px;
      }
    }
  }
</style>